package cn.tedu.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

/**
 * @author Amos
 * @date 2021/9/13
 */

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
// 注意：属性的名和表里的字段名必须一致，否则无法ORM
public class User {
    private Integer id;
    private String name;
    private String addr;
    private Integer age;
}
